package com.test01;

public class AnimalText {
    public static void main(String[] args) {
        Dog dog = new Dog("大黄", 1, "黑色");
        dog.lookHome();
        dog.eat();
        System.out.println("----------");

        Chick chick = new Chick("小鸡", 1, "黄色");
        chick.eat();
        chick.layEggs();
        System.out.println("----------");

        Fish fish = new Fish("小鲤鱼", 1, "灰色");
        fish.eat();
    }
}
